﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Sx</title>
</head>
<body>
    <div>
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4 class="modal-title">发送私信</h4>
        </div>
        <div class="modal-body">
            <form data-widget-cid="widget-0" novalidate="novalidate" id="message-create-form" class="form-horizontal" method="post" action="/Class/SendEmail">
                <input id="Hidden1" type="hidden" name="UserInfoId" value="@ViewBag.findrecord.UserInfo.UserInfoId" />
                <input id="Hidden1" type="hidden" name="Uname" value="@ViewBag.findrecord.UserInfo.Uname" />
                <input id="Hidden1" type="hidden" name="Upwd" value="@ViewBag.findrecord.UserInfo.Upwd" />
                <input id="Hidden1" type="hidden" name="RoleId" value="@ViewBag.findrecord.UserInfo.RoleId" />
                <input id="Hidden1" type="hidden" name="Tisornot" value="@ViewBag.findrecord.UserInfo.Tisornot" />
                <input id="Hidden1" type="hidden" name="Sex" value="@ViewBag.findrecord.UserInfo.Sex" />
                <input id="Hidden1" type="hidden" name="IDCard" value="@ViewBag.findrecord.UserInfo.IDCard" />
                <input id="Hidden1" type="hidden" name="PhoneNum" value="@ViewBag.findrecord.UserInfo.PhoneNum" />
                <input id="Hidden1" type="hidden" name="Company" value="@ViewBag.findrecord.UserInfo.Company" />
                <input id="Hidden1" type="hidden" name="Job" value="@ViewBag.findrecord.UserInfo.Job" />
                <input id="Hidden1" type="hidden" name="Post" value="@ViewBag.findrecord.UserInfo.Post" />
                <input id="Hidden1" type="hidden" name="Idiograph" value="@ViewBag.findrecord.UserInfo.Idiograph" />
                <input id="Hidden1" type="hidden" name="Self" value="@ViewBag.findrecord.UserInfo.Self" />
                <input id="Hidden1" type="hidden" name="PersonalHome" value="@ViewBag.findrecord.UserInfo.PersonalHome" />
                <input id="Hidden1" type="hidden" name="Microblog" value="@ViewBag.findrecord.UserInfo.Microblog" />
                <input id="Hidden1" type="hidden" name="QQ" value="@ViewBag.findrecord.UserInfo.QQ" />
                <input id="Hidden1" type="hidden" name="WeChat" value="@ViewBag.findrecord.UserInfo.WeChat" />
                <input id="Hidden1" type="hidden" name="Email" value="@ViewBag.findrecord.UserInfo.Email" />
                <input id="Hidden1" type="hidden" name="Avatar" value="@ViewBag.findrecord.UserInfo.Avatar" />
                <input id="Hidden1" type="hidden" name="XingMing" value="@ViewBag.findrecord.UserInfo.XingMing" />
                <input id="Hidden1" type="hidden" name="UTime" value="@ViewBag.findrecord.UserInfo.UTime" />

                <div class="form-group">
                    <div class="col-md-2 control-label"><label for="message_receiver" class="required">收件人</label></div>
                    <div class="col-md-8 controls">
                        <input data-explain="" data-widget-cid="widget-1" id="message_receiver" name="EmailAddress" required="required" class="form-control" rows="1" value="@ViewBag.findrecord.UserInfo.Email" type="text">
                        <div class="help-block" style="display:none;"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 control-label"><label for="message_content" class="required">内容</label></div>
                    <div class="col-md-8 controls">
                        <textarea data-explain="" data-widget-cid="widget-2" id="message_content" name="EmailContent" required="required" class="form-control" rows="5"></textarea>
                        <div class="help-block" style="display:none;"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-offset-2 col-md-8 controls">
                        <input id="message__token" name="message[_token]" value="b9a211b983c5fc72f2ac0a4bb5a4f51e0ab6eb4e" type="hidden">
                        <button class="btn btn-primary" type="submit">发送</button>
                    </div>
                </div>
                <input name="_csrf_token" value="99abd786ffba9bdbb73bf99ecd0e3de2da07a64c" type="hidden">
            </form>
            <script> app.load('user/message-send-modal'); </script>
        </div>
    </div>
</body>
</html>
